.gallerynine {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 3fr));
    gap: 15px;
    padding: 20px;
    background: #f9fafc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallerynine img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallerynine img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.firstSec {
    font-family: Arial, sans-serif;
    background-color: #f9fafc;
    color: #333;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Heading Section */
.headingSec {
    text-align: center;
    margin-bottom: 30px;
}

.headingSec h1 {
    font-size: 2em;
    color: #2c3e50;
}

.headingSec .highlight {
    color: #e67e22;
    font-weight: bold;
}

/* Subheadings */
.courseSec h3 {
    font-size: 1.5em;
    color: #2980b9;
    margin-top: 20px;
}

/* Paragraph Styling */
.courseSec p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Course Section Styling */
.courseSec {
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.courseSec strong {
    color: #34495e;
}

Resetting default styles 
.headingSec {
    text-align: center;
    padding: 2rem 0;
    background-color: #007bff;
    color: white;
  }
  
  .headingSec h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  
  .headingSec .highlight {
    color: #ffdd57;
  }
  
  /* Facilities Section */
  .firstSec {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Subsection Styling */
  .subSec {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 1 calc(33.33% - 1rem);
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .subSec:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  /* Image Styling */
  .imgSec img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #007bff;
  }
  
  /* Subsection Content */
  .subSec h3 {
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    color: #007bff;
  }
  
  .subSec p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .firstSec {
      flex-direction: column;
      gap: 1.5rem;
    }
  
    .subSec {
      flex: 1 1 100%;
    }
  
    .headingSec h1 {
      font-size: 2rem;
    }
  }


  .cardfirst {
    text-align: center;
    padding: 2rem;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
  }
  
  .cardfirst h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    font-weight: bold;
  }
  
  /* Grid Layout for Images */
  .cardfirst {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  /* Image Styling */
  .cardfirst img {
    width: 150px; /* Fixed width for consistent size */
    height: auto; /* Maintain image aspect ratio */
    border-radius: 8px; /* Optional: Rounded corners for aesthetics */
    margin: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .cardfirst img:hover {
    transform: scale(1.05); /* Subtle zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .cardfirst h1 {
      font-size: 2rem;
    }
  
    .cardfirst img {
      width: 120px; /* Adjust size for smaller screens */
      height: auto; /* Maintain aspect ratio */
    }
  }
  
  @media (max-width: 480px) {
    .cardfirst img {
      width: 100px; /* Further adjustment for very small screens */
      height: auto;
    }
  }
  